
#define FakeConfigPage0_Reserved0         0
#define FakeConfigPage0_Reserved1         1
#define FakeConfigPage0_Reserved2         2
#define FakeConfigPage0_Reserved3         3
#define FakeConfigPage0_Reserved4         4
#define FakeConfigPage0_Reserved5         5
#define FakeConfigPage0_PasswordStatus    6
#define FakeConfigPage0_Reserved7         7
#define FakeConfigPage0_Reserved8         8
#define FakeConfigPage0_Reserved9         9


#define FakeConfigPage1_ModuleID          0
#define FakeConfigPage1_Reserved1         1
#define FakeConfigPage1_Reserved2         2
#define FakeConfigPage1_Reserved3         3
#define FakeConfigPage1_Reserved4         4
#define FakeConfigPage1_Reserved5         5
#define FakeConfigPage1_Reserved6         6
#define FakeConfigPage1_Reserved7         7
#define FakeConfigPage1_Reserved8         8
#define FakeConfigPage1_Reserved9         9
#define FakeConfigPage1_Reserved10        10
#define FakeConfigPage1_Reserved11        11
#define FakeConfigPage1_Reserved12        12
#define FakeConfigPage1_Reserved13        13
#define FakeConfigPage1_Reserved14        14
#define FakeConfigPage1_Reserved15        15
#define FakeConfigPage1_Reserved16        16
#define FakeConfigPage1_Reserved17        17
#define FakeConfigPage1_Reserved18        18
#define FakeConfigPage1_Reserved19        19
#define FakeConfigPage1_Reserved20        20
#define FakeConfigPage1_Reserved21        21
#define FakeConfigPage1_Reserved22        22
#define FakeConfigPage1_Reserved23        23
#define FakeConfigPage1_Reserved24        24
#define FakeConfigPage1_Reserved25        25
#define FakeConfigPage1_Reserved26        26
#define FakeConfigPage1_Reserved27        27
#define FakeConfigPage1_Reserved28        28
#define FakeConfigPage1_Reserved29        29
#define FakeConfigPage1_Reserved30        30
#define FakeConfigPage1_Reserved31        31
#define FakeConfigPage1_Reserved32        32
#define FakeConfigPage1_Reserved33        33
#define FakeConfigPage1_Reserved34        34
#define FakeConfigPage1_Reserved35        35
#define FakeConfigPage1_Reserved36        36
#define FakeConfigPage1_Reserved37        37
#define FakeConfigPage1_Reserved38        38
#define FakeConfigPage1_Reserved39        39
#define FakeConfigPage1_Reserved40        40
#define FakeConfigPage1_Reserved41        41
#define FakeConfigPage1_Reserved42        42
#define FakeConfigPage1_Reserved43        43
#define FakeConfigPage1_Reserved44        44
#define FakeConfigPage1_ModuleVersion     45


#define FakeConfigPage220_RatedVolt        0
#define FakeConfigPage220_RatedCurr        1
#define FakeConfigPage220_PIDAVRP          2
#define FakeConfigPage220_PIDAVRI          3
#define FakeConfigPage220_PIDAVRD          4
#define FakeConfigPage220_PIDAVRGain       5
#define FakeConfigPage220_SetPointPF       6
#define FakeConfigPage220_SetActivePower   7
#define FakeConfigPage220_VoltRatio        8
#define FakeConfigPage220_CurrRatio        9
#define FakeConfigPage220_PIDPFP           10
#define FakeConfigPage220_PIDPFI           11
#define FakeConfigPage220_PIDPFD           12
#define FakeConfigPage220_PIDSyncP         13
#define FakeConfigPage220_PIDSyncI         14
#define FakeConfigPage220_PIDSyncD         15
#define FakeConfigPage220_PIDPFExciteP     16
#define FakeConfigPage220_PIDPFExciteI     17
#define FakeConfigPage220_PIDPFExciteD     18
#define FakeConfigPage220_ExciDivider_P    19
#define FakeConfigPage220_ExciDivider_I    20
#define FakeConfigPage220_ExciDivider_D    21
#define FakeConfigPage220_ExciShunt_P      22
#define FakeConfigPage220_ExciShunt_I      23
#define FakeConfigPage220_ExciShunt_D      24
#define FakeConfigPage220_BuildVolt_P      25
#define FakeConfigPage220_BuildVolt_I      26
#define FakeConfigPage220_BuildVolt_D      27


#define FakeConfigPage221_SyncPhaseDiffU    0
#define FakeConfigPage221_SyncPhaseDiffV    2
#define FakeConfigPage221_SyncPhaseDiffW    4
#define FakeConfigPage221_SyncVoltDiffU     6
#define FakeConfigPage221_SyncVoltDiffV     8
#define FakeConfigPage221_SyncVoltDiffW     10
#define FakeConfigPage221_GenVoltU          12
#define FakeConfigPage221_GenVoltV          14
#define FakeConfigPage221_GenVoltW          16
#define FakeConfigPage221_LoadVoltU         18
#define FakeConfigPage221_LoadVoltV         20
#define FakeConfigPage221_LoadVoltW         22
#define FakeConfigPage221_GenCurrU          24
#define FakeConfigPage221_GenCurrV          26
#define FakeConfigPage221_GenCurrW          28
#define FakeConfigPage221_GenActivePower    30
#define FakeConfigPage221_GenReactivePower  32
#define FakeConfigPage221_GenApparentPower  34
#define FakeConfigPage221_GenPhaseOrdU2U1   36
#define FakeConfigPage221_GenPhaseOrdU3U1   38


extern uint16_t CommuniFakeConfig_Page0[10];
extern uint16_t CommuniFakeConfig_Page1[45];
extern uint16_t CommuniFakeConfig_Page220[40];
extern uint16_t CommuniFakeConfig_Page221[50];


#define FakeConfig_Reserved0         0x0000
#define FakeConfig_Reserved1         0x0001
#define FakeConfig_Reserved2         0x0002
#define FakeConfig_Reserved3         0x0003
#define FakeConfig_Reserved4         0x0004
#define FakeConfig_Reserved5         0x0005
#define FakeConfig_PasswordStatus    0x0006
#define FakeConfig_Reserved7         0x0007
#define FakeConfig_Reserved8         0x0008
#define FakeConfig_Reserved9         0x0009


#define FakeConfig_ModuleID          0x0100
#define FakeConfig_ModuleVersion     0x012C


#define FakeConfig_RatedVolt        0xDC00
#define FakeConfig_RatedCurr        0xDC01
#define FakeConfig_PIDAVRP          0xDC02
#define FakeConfig_PIDAVRI          0xDC03
#define FakeConfig_PIDAVRD          0xDC04
#define FakeConfig_PIDAVRGain       0xDC05
#define FakeConfig_SetPointPF       0xDC06
#define FakeConfig_SetActivePower   0xDC07
#define FakeConfig_VoltRatio        0xDC08
#define FakeConfig_CurrRatio        0xDC09
#define FakeConfig_PIDPFP           0xDC0A
#define FakeConfig_PIDPFI           0xDC0B
#define FakeConfig_PIDPFD           0xDC0C
#define FakeConfig_PIDSyncP         0xDC0D
#define FakeConfig_PIDSyncI         0xDC0E
#define FakeConfig_PIDSyncD         0xDC0F
#define FakeConfig_PIDPFExciteP     0xDC10
#define FakeConfig_PIDPFExciteI     0xDC11
#define FakeConfig_PIDPFExciteD     0xDC12
#define FakeConfig_ExciDivider_P    0xDC13
#define FakeConfig_ExciDivider_I    0xDC14
#define FakeConfig_ExciDivider_D    0xDC15
#define FakeConfig_ExciShunt_P      0xDC16
#define FakeConfig_ExciShunt_I      0xDC17
#define FakeConfig_ExciShunt_D      0xDC18
#define FakeConfig_BuildVolt_P      0xDC19
#define FakeConfig_BuildVolt_I      0xDC1A
#define FakeConfig_BuildVolt_D      0xDC1B



#define FakeConfig_SyncPhaseDiffU    0xDD00
#define FakeConfig_SyncPhaseDiffV    0xDD02
#define FakeConfig_SyncPhaseDiffW    0xDD04
#define FakeConfig_SyncVoltDiffU     0xDD06
#define FakeConfig_SyncVoltDiffV     0xDD08
#define FakeConfig_SyncVoltDiffW     0xDD0A
#define FakeConfig_GenVoltU          0xDD0C
#define FakeConfig_GenVoltV          0xDD0E
#define FakeConfig_GenVoltW          0xDD10
#define FakeConfig_LoadVoltU         0xDD12
#define FakeConfig_LoadVoltV         0xDD14
#define FakeConfig_LoadVoltW         0xDD16
#define FakeConfig_GenCurrU          0xDD18
#define FakeConfig_GenCurrV          0xDD1A
#define FakeConfig_GenCurrW          0xDD1C
#define FakeConfig_GenActivePower    0xDD1E
#define FakeConfig_GenReactivePower  0xDD20
#define FakeConfig_GenApparentPower  0xDD22
#define FakeConfig_GenPhaseOrdU2U1   0xDD24
#define FakeConfig_GenPhaseOrdU3U1   0xDD26
#define FakeConfig_GenFreqAverage    0xDD28
#define FakeConfig_LoadFreqAverage   0xDD2A
#define FakeConfig_GenPFAverage      0xDD2C
#define FakeConfig_GenSyncStatus     0xDD2E
